VLCPlaylistPlay

 

Play a playlist from the VLC Media Player object

 

void @VLCPlaylistPlay(string classname);

 

Parameters

string classname : Class name of the VLC Media Player object

 

Return Value

None

 

Example1

@VLCAutoLoop("VLCPlayer1", 1);

@VLCPlaylistAdd("VLCPlayer1", "file:///C:/AutoBase/example1.mp4", 0);

@VLCPlaylistAdd("VLCPlayer1", "file:///C:/AutoBase/example2.mp4", 0);

@VLCPlaylistPlay("VLCPlayer1");

@VLCAudioVolume("VLCPlayer1", 0);

 

Description : Add two mp4 files to the playlist in the VLCPlayer1 object and play them. ( Repeat function ON, Volume 0)

 

Example2

@VLCPlaylistAdd("VLCPlayer1", "rtsp://192.168.xxx.xxx/live/cctv001.stream", ":rtsp-tcp :network-caching=1000");

@VLCPlaylistPlay("VLCPlayer1");

 

Description : Add the CCTV RTSP streaming address to the playlist of the VLCPlayer1 object and play it. (1 second delay in using network cache)

 

Example3

@VLCPlaylistAdd("VLCPlayer1", "dshow://", ":dshow-vdev=Microsoft˘ç LifeCam HD-3000 :dshow-adev=");

@VLCPlaylistPlay("VLCPlayer1");

 

Description : The VLCPlayer1 object plays the webcam screen connected to the PC. (:d show-vdev=[devicename])

 

Related Helps)

@VLCAudioMute()

@VLCAudioVolume()

@VLCAutoLoop()

@VLCPlaylistAdd()

@VLCPlaylistClear()

@VLCPlaylistStop()